Vcenter Compute Policies Capabilities VmHostAntiAffinity CreateSpec
The Vcenter Compute Policies Capabilities VmHostAntiAffinity CreateSpec schema contains information used to create a new virtual machine to host anti-affinity policy, see POST /vcenter/compute/policies. Virtual machines that have the tag indicated by Vcenter Compute Policies Capabilities VmHostAntiAffinity CreateSpec.vm_tag will be anti-affine to hosts that have the tag indicated by Vcenter Compute Policies Capabilities VmHostAntiAffinity CreateSpec.host_tag in VMware Cloud on AWS. Usage beyond VMware Cloud on AWS is not supported.
Warning: this schema is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.
{
"capability": "string",
"name": "string",
"description": "string",
"vm_tag": "string",
"host_tag": "string"
}
Identifier of a tag that can be associated with a virtual machine. Virtual machines with this tag will be anti-affine to the hosts indicated by Vcenter Compute Policies Capabilities VmHostAntiAffinity CreateSpec.host_tag.
Warning: this property is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.
When clients pass a value of this schema as a parameter, the property must be an identifier for the resource type: com.vmware.cis.tagging.Tag:VirtualMachine
. When operations return a value of this schema as a response, the property will be an identifier for the resource type: com.vmware.cis.tagging.Tag:VirtualMachine
.
Identifier of a tag that can be associated with a host. Virtual machines indicated by Vcenter Compute Policies Capabilities VmHostAntiAffinity CreateSpec.vm_tag will be anti-affine to hosts with this tag.
Warning: this property is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.
When clients pass a value of this schema as a parameter, the property must be an identifier for the resource type: com.vmware.cis.tagging.Tag:HostSystem
. When operations return a value of this schema as a response, the property will be an identifier for the resource type: com.vmware.cis.tagging.Tag:HostSystem
.